import { useParams } from "react-router-dom";

const Article = () => {
    const params = useParams();
    let id = params.id;
    return (
        <div>
            <h1>Article</h1>
            <p>Article content goes here 跳转到第{id}篇文章</p>
        </div>
    );
}

export default Article;